#pragma once

typedef unsigned int nat;

#include "Conversor.h"

template <class T>
class FuncionHash abstract : public Conversor<T,nat>
{
public:
	virtual ~FuncionHash(){}
	virtual nat CodigoDeHash(const T& dato) const abstract;
protected:
	nat Convertir(const T& t) const { return CodigoDeHash(t); }
};
